package com.heima.test6;

public class Test {
    public static void main(String[] args) {
        Student s = new Student("小王", 18);
        Teacher teacher = new Teacher("李老师", 43);
        s.study();
        teacher.teach();
    }
}
